import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SWrestleBattlePlayer } from "./SWrestleBattlePlayer";
type int = number;
//class SWrestleBattle
    
    export  class SWrestleBattle
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.wrestleId);
            this.playerOne.__write(arg1);
            this.playerTwo.__write(arg1);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.wrestleId = arg1.readInt();
            this.playerOne = new SWrestleBattlePlayer();
            this.playerOne.__read(arg1);
            this.playerTwo = new SWrestleBattlePlayer();
            this.playerTwo.__read(arg1);
            return;
        }

        public /* var */wrestleId: int;

        public /* var */playerOne: SWrestleBattlePlayer;

        public /* var */playerTwo: SWrestleBattlePlayer;
    }
